Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Utility Functions for Video Channel Callback Functions


SGCompressFrame

The SGCompressFrame function provides the default behavior for your compress function.

pascal ComponentResult SGCompressFrame (SGChannel c, 
                                       short bufferNum);
c
Specifies the reference that identifies the channel for this operation. The sequence grabber provides this value to your compress function.
bufferNum
Identifies the buffer. The sequence grabber provides this value to your compress function.
SPECIAL CONSIDERATIONS
You should call the SGCompressFrame function only from your compress function.
If you call it at any other time, results are unpredictable.

RESULT CODES
cantDoThatInCurrentMode-9402Request invalid in current mode
Image Compression Manager errors

SEE ALSO
See "Application-Defined Functions," which begins on page 5-107, for information about compress functions.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help